import { createRouter, createWebHashHistory } from 'vue-router'
import { routes } from '@/router/routes'

const router = createRouter({
  history: createWebHashHistory(),
  routes:routes,
  scrollBehavior: () => {
    return {
      left: 0,
      top: 0
    }
  }
})

export default router
